projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d6a85e
)
(momentary-string-display): Fix backward test
author
Richard M. Stallman
<rms@gnu.org>
Tue, 20 Jan 1998 04:56:52 +0000
(
04:56
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 20 Jan 1998 04:56:52 +0000
(
04:56
+0000)
for whether end of message is off the screen.
lisp/subr.el
patch
|
blob
|
history
diff --git
a/lisp/subr.el
b/lisp/subr.el
index 683c8e291b28f6e9fe5c487d187e85b3052a41e2..d344754c34b10349c17aa37e758dded68d26d8b9 100644
(file)
--- a/
lisp/subr.el
+++ b/
lisp/subr.el
@@
-809,7
+809,7
@@
If MESSAGE is nil, instructions to type EXIT-CHAR are displayed there."
(insert-before-markers string)
(setq insert-end (point))
;; If the message end is off screen, recenter now.
- (if (
>
(window-end) insert-end)
+ (if (
<
(window-end) insert-end)
(recenter (/ (window-height) 2)))
;; If that pushed message start off the screen,
;; scroll to start it at the top of the screen.